locotab: sort on mode added