Option 1 looks cleaner in terms of coding practice.
Option 2 would allow copying to sorted table which may give better performance for huge tables.
Option 1 looks cleaner in terms of coding practice.
Option 2 would allow copying to sorted table which may give better performance for huge tables.