sorting works on pure number cells (ctrl+f8 in blue) however in cells formated as number but the value is coming from a formula they show as green in ctrl+f8 and are sorted in some weird way.
i have no idea why this happens and how to fix it, they are just numbers.