Fixed bug in cache that was ignoring cache status
[SP-84] Fixed sort on ids