Sort slightly working