title: Will different arrays sync after bubble sorting one?
body: <p>As a school assignment, I have to create a Python app that allows the user to add personal information on X amount of people. With that said, the program allows the user to select many options and one of them is to sort the list of people with their infos alphabetically WITHOUT the use of sort() or quicksort() function whatsoever. The only thing left for me to do is to use the bubble sorting method.</p>
  <p>Initially, I had the idea to create arrays for different data types like for example:</p>
  <p>Last_names = [ ]</p>
  <p>First_names = [ ]</p>
  <p>Date_of_birth = [ ]</p>
  <p>Gender = [ ]</p>
  <p>but the thing is, if I apply bubble sort to Last_names, how would the other arrays info sync with the new order? Like are the infos on each person going to be mixed up?</p>
  <p>Update:</p>
  <p>so I decided to go with the format person1 = [&quot;name1&quot;, &quot;date_of_birth1&quot;, &quot;gender1&quot;.....]</p>
  <p>and then add that to another list</p>
  <p>addressbook = [&quot;person1&quot;, &quot;person2&quot;, &quot;person3&quot;, .....]</p>