bugfix: sort