9 of 13 This question appears in the hot questions list on the network - the current title looks like trash and should be more professional looking if it's displayed network-wide.

I need a program where the user inputs an array of doubles and the program outputs the array sorted

Now, for the actual first question in this category, the hypothetical lazy OP asks:

I need a program where the user inputs an array of doubles and the program outputs the array sorted. Could you please give the code?

The winner is the most upvoted answer, except if the answer is somehow not eligible (in that case I will drop a comment). If the previously most upvoted answer is beaten in the future in the number of upvotes after being accepted, the new best answer is accepted and the previous one is unaccepted. In the case of a tie, I will choose the winner at will among the tied ones or just wait a bit more.

EDIT and EDIT 2: Clarification about the choice of programming languages.

Further EDIT: Answers that have no code are not eligible. They might be fun and get some upvotes, but won't be accepted.