Hey @Ali, you can use the dplyr package of R for this purpose. dplyr is mainly used for data manipulation. You can try something like this:
data <- read.csv("file_path.csv")
name = arrange(nameofdataframe, variable)
where variable is the variable which will be used to arrange it in ascending order.