I need to sort a rows of a column character type, showing first the numbers sorted from highest to lowest and then the characters with "<" in a specific order: first "<LCM" and then "<LDM".
From:
To:
data.table::data.table(Resultado = c("1,39", "5,89", "3,12", "0,25", "<LCM", "<LDM", "<LDM", "<LCM"))


If your numbers are
,-decimal numbers, then we can doIf instead they are distinct
,-separated numbers and you are only sorting on the first, then we can do