From 6ad630bda6b3bcfa34148f38c98d1b2ef1d41231 Mon Sep 17 00:00:00 2001 From: Solderpunk Date: Wed, 12 Dec 2018 17:39:51 +0000 Subject: Sort boards in forward, not backward, alphabetical order. --- telem.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'telem.lua') diff --git a/telem.lua b/telem.lua index e1e9661..b4e9128 100755 --- a/telem.lua +++ b/telem.lua @@ -86,7 +86,7 @@ function update_boards() table.insert(boards, board) end end - table.sort(boards, function(x,y) return x.name > y.name end) + table.sort(boards, function(x,y) return x.name < y.name end) end function check_at_board() -- cgit v1.2.3