now supports sorting in some way