changed the way the adapter does sorting, small refactor