fix inspiration sorting