[Ask]how to create a logical sequence of first appearance

I have employee table that contains some data, the mysql database:

  1. Davina
  2. Brisen
  3. Angela
  4. Marcos
  5. Michale
  6. Mandala
  7. etc

then one of the employees in accordance with the username login Him
eg:
username: Marcos,
after that login will display showing all employees
but the username: Marcos became the first sequence
then another employee username, so that the view on the web:

  1. Marcos
  2. Davina
  3. Brisen
  4. Michale
  5. etc

how to make it by using PHP and MySql???

Add a column to your database table that contains the last login timestamp, and order by that column when you retrieve the users from the table