Because it is a stack so content is LIFO. GEOT-4783 describes one of the glitches as the fid order being reversed when going CQL -> Filter -> CQL